package com.xiangyi.teachingsystem.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class GroupUser {
    //自增id
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    //小组标识
    private Integer groupId;
    //用户标识
    private Integer userId;
    //组长标识
    private Boolean leaderSign;

    @TableField(exist = false)
    private String name;
    @TableField(exist = false)
    private String jobNum;
    @TableField(exist = false)
    private String sex;
    @TableField(exist = false)
    private String headUrl;
}
